<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>

    <script src="${pageContext.request.contextPath}/js/jquery.js"></script>
    <script>
        var commodityList = new Array();
        commodityList.push({name:"张三",price:198,detail:"sd"});
        commodityList.push({name:"李四",price:234,detail:"42d"});

        $.ajax({
            type:"POST",
            url:"${pageContext.request.contextPath}/commodity/test15",
            data:JSON.stringify(commodityList),
            contentType:"application/json;charset=utf-8"
        });
    </script>
</head>
<body>

</body>
</html>
